package com.lnking.lnkingplace.model.dto.recordUser;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lnking.starter.export.annotation.TableColumn;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author 联坤
 */
@Data
public class RecordUserExportDto {

    @TableColumn(columnName = "用户name",column = "1")
    @ApiModelProperty(value = "用户name")
    private String userName;

//    @TableColumn(columnName = "场所",column = "2")
    @ApiModelProperty(value = "数据信息(json)")
    private String info;

    @ApiModelProperty(value = "记录时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime creatorTime;

    @ApiModelProperty(value = "核酸结果出具时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime resultTime;
}
